package com.mrd.gtimp.base.action;


import com.mrd.gtimp.base.service.PermissionsBiz;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * <p> application name: gtimp <p> copyright: Copyright@2012 明睿达科技有限公司
 */

/**
 * @author qiul
 */

@Controller
@RequestMapping("/base")
public class PermissionsAction {
    private static final long serialVersionUID = 1L;
    @SuppressWarnings("unused")
    @Resource
    private PermissionsBiz permissionsBiz;

    /**
     * public String show() { try { page = initPage(PermissionsBiz.findEntityCount(filters)); Order
     * order = new Order(); order.add(sidx, sord); Permissionss = PermissionsBiz
     * .findEntityByFilter(page.getCurrentPageStartNo(), page.getPageSize(), filters, order); }
     * catch (Exception e) { e.printStackTrace(); } return SUCCESS; }
     **/

    @Resource
    public void setPermissionsBiz(PermissionsBiz permissionsBiz) {
        this.permissionsBiz = permissionsBiz;
    }
}
